**** dT 0.000 * top TEST ../../../../bin/varnishtest/tests/r01834.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:40591 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub **** top extmacro def topsrc=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/../.. **** top macro def testdir=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest/../../../../bin/varnishtest/tests **** top macro def tmpdir=/home/linux1/VT/_vtest_tmp/vtc.1987179.1f85bd9f **** top macro def vtcid=vtc.1987179.1f85bd9f ** top === varnishtest "#1834 - Buffer overflow in backend workspace" * top VTEST #1834 - Buffer overflow in backend workspace ** top === server s1 -repeat 40 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=34123 **** s1 macro def s1_sock=127.0.0.1:34123 * s1 Listen on 127.0.0.1:34123 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:34123 (40 iterations) **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /home/linux1/VT/_vtest_tmp/vtc.1987179.1f85bd9f/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 33687' -P /home/linux1/VT/_vtest_tmp/vtc.1987179.1f85bd9f/v1/varnishd.pid -p vmod_path=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs *** v1 CMD: cd /home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest && exec varnishd -d -n /home/linux1/VT/_vtest_tmp/vtc.1987179.1f85bd9f/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 33687' -P /home/linux1/VT/_vtest_tmp/vtc.1987179.1f85bd9f/v1/varnishd.pid -p vmod_path=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs *** v1 PID: 1987198 **** v1 macro def v1_pid=1987198 **** v1 macro def v1_name=/home/linux1/VT/_vtest_tmp/vtc.1987179.1f85bd9f/v1 **** dT 0.005 *** v1 debug|Info: Working directory not mounted on tmpfs partition **** dT 0.009 *** v1 debug|Debug: Version: varnish-trunk revision f0379c85cc11fb52ed844c8d815d691e69437e43 *** v1 debug|Debug: Platform: Linux,4.18.0-553.16.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit *** v1 debug|200 329 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,4.18.0-553.16.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-trunk revision f0379c85cc11fb52ed844c8d815d691e69437e43 *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.109 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 7 *** v1 CLI RX 107 **** v1 CLI RX|npuwkzcigmjnwzmokyremnthfnfkdnqi **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 728ccc5cf15e7b2fd7a707e31c7d880cc9bb946c52955d95e9b366b036be8d7e **** dT 0.113 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,4.18.0-553.16.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-trunk revision f0379c85cc11fb52ed844c8d815d691e69437e43 **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.114 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "34123"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport std; **** v1 CLI TX|\timport vtc; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\treturn (pass); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_fetch { **** v1 CLI TX|\t\t# this relies on deterministic xids. **** v1 CLI TX|\t\t# first bereq is xid == 1002 **** v1 CLI TX|\t\tvtc.workspace_alloc(backend, -320 + **** v1 CLI TX|\t\t 8 * ((bereq.xid - 1002) / 3)); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.257 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.384 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.395 *** v1 CLI RX 200 **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 **** dT 0.396 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 0.471 *** v1 debug|Debug: Child (1987211) Started **** dT 0.521 *** v1 debug|Child launched OK **** dT 0.523 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address **** dT 0.528 *** v1 debug|Info: Child (1987211) said Child starts **** dT 0.568 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 37511 **** v1 CLI TX|debug.xid 1000 **** dT 0.585 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1730212053.129435/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1730212053.129435/vgc.so" as "vcl1" **** v1 vsl| 0 CLI - Rd vcl.use "vcl1" **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd start **** v1 vsl| 0 Debug - sockopt: Setting SO_LINGER for a0=127.0.0.1:37511 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:37511 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:37511 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:37511 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:37511 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:37511 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:37511 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:37511 **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 37511 **** dT 0.622 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address **** dT 0.668 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 37511 ** v1 Listen on 127.0.0.1 37511 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=37511 **** v1 macro def v1_sock=127.0.0.1:37511 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=37511 **** v1 macro def v1_a0_sock=127.0.0.1:37511 ** top === client c1 -repeat 5 { ** c1 Starting client ** c1 Waiting for client ** c1 Started on 127.0.0.1:37511 (5 iterations) *** c1 Connect to 127.0.0.1:37511 *** c1 connected fd 17 from 127.0.0.1 59214 to 127.0.0.1:37511 ** c1 === txreq -hdr "Connection: close" **** c1 txreq|GET / HTTP/1.1\r **** c1 txreq|Connection: close\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r **** dT 0.669 ** c1 === rxresp *** s1 accepted fd 5 127.0.0.1 59088 ** s1 === non_fatal ** s1 === rxreq **** s1 rxhdr|GET / HTTP/1.1\r **** s1 rxhdr|Host: 127.0.0.1\r **** s1 rxhdr|User-Agent: c1\r **** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r **** s1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** s1 rxhdr|X-Varnish: 1002\r **** s1 rxhdr|\r **** s1 rxhdrlen = 125 **** s1 http[ 0] |GET **** s1 http[ 1] |/ **** s1 http[ 2] |HTTP/1.1 **** s1 http[ 3] |Host: 127.0.0.1 **** s1 http[ 4] |User-Agent: c1 **** s1 http[ 5] |X-Forwarded-For: 127.0.0.1 **** s1 http[ 6] |Via: 1.1 v1 (Varnish/trunk) **** s1 http[ 7] |X-Varnish: 1002 **** s1 bodylen = 0 ** s1 === txresp **** s1 txresp|HTTP/1.1 200 OK\r **** s1 txresp|Date: Tue, 29 Oct 2024 14:27:33 GMT\r **** s1 txresp|Server: s1\r **** s1 txresp|Content-Length: 0\r **** s1 txresp|\r *** s1 shutting fd 5 **** dT 0.680 **** c1 rxhdr|HTTP/1.1 200 OK\r **** c1 rxhdr|Date: Tue, 29 Oct 2024 14:27:33 GMT\r **** c1 rxhdr|Server: s1\r **** c1 rxhdr|Content-Length: 0\r **** c1 rxhdr|X-Varnish: 1001\r **** c1 rxhdr|Age: 0\r **** c1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** c1 rxhdr|Connection: close\r **** c1 rxhdr|\r **** c1 rxhdrlen = 160 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |200 **** c1 http[ 2] |OK **** c1 http[ 3] |Date: Tue, 29 Oct 2024 14:27:33 GMT **** c1 http[ 4] |Server: s1 **** c1 http[ 5] |Content-Length: 0 **** c1 http[ 6] |X-Varnish: 1001 **** c1 http[ 7] |Age: 0 **** c1 http[ 8] |Via: 1.1 v1 (Varnish/trunk) **** c1 http[ 9] |Connection: close **** c1 bodylen = 0 ** c1 === expect resp.status == 200 **** c1 EXPECT resp.status (200) == "200" match *** c1 closing fd 17 *** c1 Connect to 127.0.0.1:37511 *** c1 connected fd 17 from 127.0.0.1 59218 to 127.0.0.1:37511 ** c1 === txreq -hdr "Connection: close" **** c1 txreq|GET / HTTP/1.1\r **** c1 txreq|Connection: close\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r ** c1 === rxresp **** dT 0.682 *** s1 accepted fd 5 127.0.0.1 59102 ** s1 === non_fatal ** s1 === rxreq **** s1 rxhdr|GET / HTTP/1.1\r **** s1 rxhdr|Host: 127.0.0.1\r **** s1 rxhdr|User-Agent: c1\r **** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r **** s1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** s1 rxhdr|X-Varnish: 1005\r **** s1 rxhdr|\r **** s1 rxhdrlen = 125 **** s1 http[ 0] |GET **** s1 http[ 1] |/ **** s1 http[ 2] |HTTP/1.1 **** s1 http[ 3] |Host: 127.0.0.1 **** s1 http[ 4] |User-Agent: c1 **** s1 http[ 5] |X-Forwarded-For: 127.0.0.1 **** s1 http[ 6] |Via: 1.1 v1 (Varnish/trunk) **** s1 http[ 7] |X-Varnish: 1005 **** s1 bodylen = 0 ** s1 === txresp **** s1 txresp|HTTP/1.1 200 OK\r **** s1 txresp|Date: Tue, 29 Oct 2024 14:27:33 GMT\r **** s1 txresp|Server: s1\r **** s1 txresp|Content-Length: 0\r **** s1 txresp|\r *** s1 shutting fd 5 **** dT 0.685 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 37511 **** v1 vsl| 1000 Begin c sess 0 HTTP/1 **** v1 vsl| 1000 SessOpen c 127.0.0.1 59214 a0 127.0.0.1 37511 1730212053.684363 22 **** v1 vsl| 1000 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1000 Debug c sockopt: SO_KEEPALIVE may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1000 Debug c sockopt: SO_SNDTIMEO may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1000 Debug c sockopt: SO_RCVTIMEO may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1000 Debug c sockopt: TCP_NODELAY may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1000 Link c req 1001 rxreq **** v1 vsl| 1002 Begin b bereq 1001 pass **** v1 vsl| 1002 VCL_use b vcl1 **** v1 vsl| 1002 Timestamp b Start: 1730212053.684492 0.000000 0.000000 **** v1 vsl| 1002 BereqMethod b GET **** v1 vsl| 1002 BereqURL b / **** v1 vsl| 1002 BereqProtocol b HTTP/1.1 **** v1 vsl| 1002 BereqHeader b Host: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b User-Agent: c1 **** v1 vsl| 1002 BereqHeader b X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1002 BereqHeader b X-Varnish: 1002 **** v1 vsl| 1002 VCL_call b BACKEND_FETCH **** v1 vsl| 1002 VCL_return b fetch **** v1 vsl| 1002 Timestamp b Fetch: 1730212053.684553 0.000060 0.000060 **** v1 vsl| 1002 Timestamp b Connected: 1730212053.684772 0.000279 0.000218 **** v1 vsl| 1002 BackendOpen b 25 s1 127.0.0.1 34123 127.0.0.1 59088 connect **** v1 vsl| 1002 Timestamp b Bereq: 1730212053.684799 0.000306 0.000027 **** v1 vsl| 1002 BerespProtocol b HTTP/1.1 **** v1 vsl| 1002 BerespStatus b 200 **** v1 vsl| 1002 BerespReason b OK **** v1 vsl| 1002 BerespHeader b Date: Tue, 29 Oct 2024 14:27:33 GMT **** v1 vsl| 1002 BerespHeader b Server: s1 **** v1 vsl| 1002 BerespHeader b Content-Length: 0 **** v1 vsl| 1002 Timestamp b Beresp: 1730212053.684985 0.000493 0.000186 **** v1 vsl| 1002 VCL_call b BACKEND_RESPONSE **** v1 vsl| 1002 VCL_return b deliver **** v1 vsl| 1002 Timestamp b Process: 1730212053.684994 0.000502 0.000008 **** v1 vsl| 1002 Filters b **** v1 vsl| 1002 Storage b malloc Transient **** v1 vsl| 1002 Fetch_Body b 0 none - **** v1 vsl| 1002 BackendClose b 25 s1 recycle **** v1 vsl| 1002 Timestamp b BerespBody: 1730212053.695101 0.010608 0.010106 **** v1 vsl| 1002 Length b 0 **** v1 vsl| 1002 BereqAcct b 125 0 125 87 0 87 **** v1 vsl| 1002 End b **** v1 vsl| 1001 Begin c req 1000 rxreq **** v1 vsl| 1001 Timestamp c Start: 1730212053.684404 0.000000 0.000000 **** v1 vsl| 1001 Timestamp c Req: 1730212053.684404 0.000000 0.000000 **** v1 vsl| 1001 VCL_use c vcl1 **** v1 vsl| 1001 ReqStart c 127.0.0.1 59214 a0 **** v1 vsl| 1001 ReqMethod c GET **** v1 vsl| 1001 ReqURL c / **** v1 vsl| 1001 ReqProtocol c HTTP/1.1 **** v1 vsl| 1001 ReqHeader c Connection: close **** v1 vsl| 1001 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c User-Agent: c1 **** v1 vsl| 1001 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1001 VCL_call c RECV **** v1 vsl| 1001 VCL_return c pass **** v1 vsl| 1001 VCL_call c HASH **** v1 vsl| 1001 VCL_return c lookup **** v1 vsl| 1001 VCL_call c PASS **** v1 vsl| 1001 VCL_return c fetch **** v1 vsl| 1001 Link c bereq 1002 pass **** v1 vsl| 1001 Timestamp c Fetch: 1730212053.695337 0.010932 0.010932 **** v1 vsl| 1001 RespProtocol c HTTP/1.1 **** v1 vsl| 1001 RespStatus c 200 **** v1 vsl| 1001 RespReason c OK **** v1 vsl| 1001 RespHeader c Date: Tue, 29 Oct 2024 14:27:33 GMT **** v1 vsl| 1001 RespHeader c Server: s1 **** v1 vsl| 1001 RespHeader c Content-Length: 0 **** v1 vsl| 1001 RespHeader c X-Varnish: 1001 **** v1 vsl| 1001 RespHeader c Age: 0 **** v1 vsl| 1001 RespHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1001 VCL_call c DELIVER **** v1 vsl| 1001 VCL_return c deliver **** v1 vsl| 1001 Timestamp c Process: 1730212053.695364 0.010959 0.000026 **** v1 vsl| 1001 Filters c **** v1 vsl| 1001 RespHeader c Connection: close **** v1 vsl| 1001 Timestamp c Resp: 1730212053.695397 0.010992 0.000032 **** v1 vsl| 1001 ReqAcct c 70 0 70 160 0 160 **** v1 vsl| 1001 End c **** v1 vsl| 1000 SessClose c REQ_CLOSE 0.011 **** v1 vsl| 1000 End c **** v1 vsl| 1003 Begin c sess 0 HTTP/1 **** v1 vsl| 1003 SessOpen c 127.0.0.1 59218 a0 127.0.0.1 37511 1730212053.696587 23 **** v1 vsl| 1003 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1003 Debug c sockopt: SO_KEEPALIVE may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1003 Debug c sockopt: SO_SNDTIMEO may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1003 Debug c sockopt: SO_RCVTIMEO may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1003 Debug c sockopt: TCP_NODELAY may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1003 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1003 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1003 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1003 Link c req 1004 rxreq **** dT 0.693 **** c1 rxhdr|HTTP/1.1 200 OK\r **** c1 rxhdr|Date: Tue, 29 Oct 2024 14:27:33 GMT\r **** c1 rxhdr|Server: s1\r **** c1 rxhdr|Content-Length: 0\r **** c1 rxhdr|X-Varnish: 1004\r **** c1 rxhdr|Age: 0\r **** c1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** c1 rxhdr|Connection: close\r **** c1 rxhdr|\r **** c1 rxhdrlen = 160 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |200 **** c1 http[ 2] |OK **** c1 http[ 3] |Date: Tue, 29 Oct 2024 14:27:33 GMT **** c1 http[ 4] |Server: s1 **** c1 http[ 5] |Content-Length: 0 **** c1 http[ 6] |X-Varnish: 1004 **** c1 http[ 7] |Age: 0 **** c1 http[ 8] |Via: 1.1 v1 (Varnish/trunk) **** c1 http[ 9] |Connection: close **** c1 bodylen = 0 ** c1 === expect resp.status == 200 **** c1 EXPECT resp.status (200) == "200" match *** c1 closing fd 17 *** c1 Connect to 127.0.0.1:37511 *** c1 connected fd 17 from 127.0.0.1 59224 to 127.0.0.1:37511 ** c1 === txreq -hdr "Connection: close" **** c1 txreq|GET / HTTP/1.1\r **** c1 txreq|Connection: close\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r ** c1 === rxresp **** dT 0.711 *** s1 accepted fd 5 127.0.0.1 59114 ** s1 === non_fatal ** s1 === rxreq **** s1 rxhdrlen = 0 **** s1 No headers **** s1 bodylen = 0 ** s1 === txresp **** s1 txresp|HTTP/1.1 200 OK\r **** s1 txresp|Date: Tue, 29 Oct 2024 14:27:33 GMT\r **** s1 txresp|Server: s1\r **** s1 txresp|Content-Length: 0\r **** s1 txresp|\r *** s1 shutting fd 5 **** dT 0.715 **** c1 rxhdr|HTTP/1.1 503 Backend fetch failed\r **** c1 rxhdr|Date: Tue, 29 Oct 2024 14:27:33 GMT\r **** c1 rxhdr|Server: Varnish\r **** c1 rxhdr|X-Varnish: 1007\r **** c1 rxhdr|Age: 0\r **** c1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** c1 rxhdr|Content-Length: 271\r **** c1 rxhdr|Connection: close\r **** c1 rxhdr|\r **** c1 rxhdrlen = 185 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |503 **** c1 http[ 2] |Backend fetch failed **** c1 http[ 3] |Date: Tue, 29 Oct 2024 14:27:33 GMT **** c1 http[ 4] |Server: Varnish **** c1 http[ 5] |X-Varnish: 1007 **** c1 http[ 6] |Age: 0 **** c1 http[ 7] |Via: 1.1 v1 (Varnish/trunk) **** c1 http[ 8] |Content-Length: 271 **** c1 http[ 9] |Connection: close **** c1 c-l| **** c1 c-l| **** c1 c-l|
**** c1 c-l|Backend fetch failed
**** c1 c-l|XID:
**** c1 c-l|Varnish cache server
**** c1 c-l| **** c1 c-l| **** c1 bodylen = 271 ** c1 === expect resp.status == 200 ---- c1 EXPECT resp.status (503) == "200" failed * top RESETTING after ../../../../bin/varnishtest/tests/r01834.vtc ** s1 Waiting for server (4/-1) **** dT 0.716 ** v1 Wait **** v1 CLI TX|panic.show **** dT 0.771 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 0.773 *** v1 debug|Info: manager stopping child *** v1 debug|Debug: Stopping Child **** dT 0.786 **** v1 vsl| 1005 Begin b bereq 1004 pass **** v1 vsl| 1005 VCL_use b vcl1 **** v1 vsl| 1005 Timestamp b Start: 1730212053.696651 0.000000 0.000000 **** v1 vsl| 1005 BereqMethod b GET **** v1 vsl| 1005 BereqURL b / **** v1 vsl| 1005 BereqProtocol b HTTP/1.1 **** v1 vsl| 1005 BereqHeader b Host: 127.0.0.1 **** v1 vsl| 1005 BereqHeader b User-Agent: c1 **** v1 vsl| 1005 BereqHeader b X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1005 BereqHeader b Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1005 BereqHeader b X-Varnish: 1005 **** v1 vsl| 1005 VCL_call b BACKEND_FETCH **** v1 vsl| 1005 VCL_return b fetch **** v1 vsl| 1005 Timestamp b Fetch: 1730212053.696666 0.000015 0.000015 **** v1 vsl| 1005 Timestamp b Connected: 1730212053.696722 0.000071 0.000055 **** v1 vsl| 1005 BackendOpen b 25 s1 127.0.0.1 34123 127.0.0.1 59102 connect **** v1 vsl| 1005 Timestamp b Bereq: 1730212053.696740 0.000089 0.000018 **** v1 vsl| 1005 BerespProtocol b HTTP/1.1 **** v1 vsl| 1005 BerespStatus b 200 **** v1 vsl| 1005 BerespReason b OK **** v1 vsl| 1005 BerespHeader b Date: Tue, 29 Oct 2024 14:27:33 GMT **** v1 vsl| 1005 BerespHeader b Server: s1 **** v1 vsl| 1005 BerespHeader b Content-Length: 0 **** v1 vsl| 1005 Timestamp b Beresp: 1730212053.698397 0.001746 0.001656 **** v1 vsl| 1005 VCL_call b BACKEND_RESPONSE **** v1 vsl| 1005 VCL_return b deliver **** v1 vsl| 1005 Timestamp b Process: 1730212053.698402 0.001751 0.000005 **** v1 vsl| 1005 Filters b **** v1 vsl| 1005 Storage b malloc Transient **** v1 vsl| 1005 Fetch_Body b 0 none - **** v1 vsl| 1005 BackendClose b 25 s1 recycle **** v1 vsl| 1005 Timestamp b BerespBody: 1730212053.708525 0.011874 0.010122 **** v1 vsl| 1005 Length b 0 **** v1 vsl| 1005 BereqAcct b 125 0 125 87 0 87 **** v1 vsl| 1005 End b **** v1 vsl| 1004 Begin c req 1003 rxreq **** v1 vsl| 1004 Timestamp c Start: 1730212053.696611 0.000000 0.000000 **** v1 vsl| 1004 Timestamp c Req: 1730212053.696611 0.000000 0.000000 **** v1 vsl| 1004 VCL_use c vcl1 **** v1 vsl| 1004 ReqStart c 127.0.0.1 59218 a0 **** v1 vsl| 1004 ReqMethod c GET **** v1 vsl| 1004 ReqURL c / **** v1 vsl| 1004 ReqProtocol c HTTP/1.1 **** v1 vsl| 1004 ReqHeader c Connection: close **** v1 vsl| 1004 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1004 ReqHeader c User-Agent: c1 **** v1 vsl| 1004 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1004 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1004 VCL_call c RECV **** v1 vsl| 1004 VCL_return c pass **** v1 vsl| 1004 VCL_call c HASH **** v1 vsl| 1004 VCL_return c lookup **** v1 vsl| 1004 VCL_call c PASS **** v1 vsl| 1004 VCL_return c fetch **** v1 vsl| 1004 Link c bereq 1005 pass **** v1 vsl| 1004 Timestamp c Fetch: 1730212053.708532 0.011921 0.011921 **** v1 vsl| 1004 RespProtocol c HTTP/1.1 **** v1 vsl| 1004 RespStatus c 200 **** v1 vsl| 1004 RespReason c OK **** v1 vsl| 1004 RespHeader c Date: Tue, 29 Oct 2024 14:27:33 GMT **** v1 vsl| 1004 RespHeader c Server: s1 **** v1 vsl| 1004 RespHeader c Content-Length: 0 **** v1 vsl| 1004 RespHeader c X-Varnish: 1004 **** v1 vsl| 1004 RespHeader c Age: 0 **** v1 vsl| 1004 RespHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1004 VCL_call c DELIVER **** v1 vsl| 1004 VCL_return c deliver **** v1 vsl| 1004 Timestamp c Process: 1730212053.708545 0.011934 0.000012 **** v1 vsl| 1004 Filters c **** v1 vsl| 1004 RespHeader c Connection: close **** v1 vsl| 1004 Timestamp c Resp: 1730212053.708574 0.011963 0.000029 **** v1 vsl| 1004 ReqAcct c 70 0 70 160 0 160 **** v1 vsl| 1004 End c **** v1 vsl| 1003 SessClose c REQ_CLOSE 0.012 **** v1 vsl| 1003 End c **** v1 vsl| 1006 Begin c sess 0 HTTP/1 **** v1 vsl| 1006 SessOpen c 127.0.0.1 59224 a0 127.0.0.1 37511 1730212053.710782 24 **** v1 vsl| 1006 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1006 Debug c sockopt: SO_KEEPALIVE may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1006 Debug c sockopt: SO_SNDTIMEO may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1006 Debug c sockopt: SO_RCVTIMEO may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1006 Debug c sockopt: TCP_NODELAY may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1006 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1006 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1006 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:37511 **** v1 vsl| 1006 Link c req 1007 rxreq **** v1 vsl| 1008 Begin b bereq 1007 pass **** v1 vsl| 1008 VCL_use b vcl1 **** v1 vsl| 1008 Timestamp b Start: 1730212053.710842 0.000000 0.000000 **** v1 vsl| 1008 BereqMethod b GET **** v1 vsl| 1008 BereqURL b / **** v1 vsl| 1008 BereqProtocol b HTTP/1.1 **** v1 vsl| 1008 BereqHeader b Host: 127.0.0.1 **** v1 vsl| 1008 BereqHeader b User-Agent: c1 **** v1 vsl| 1008 BereqHeader b X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1008 BereqHeader b Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1008 BereqHeader b X-Varnish: 1008 **** v1 vsl| 1008 VCL_call b BACKEND_FETCH **** v1 vsl| 1008 VCL_return b fetch **** v1 vsl| 1008 Timestamp b Fetch: 1730212053.710861 0.000019 0.000019 **** v1 vsl| 1008 Timestamp b Connected: 1730212053.710864 0.000022 0.000002 **** v1 vsl| 1008 BackendOpen b 25 s1 127.0.0.1 34123 127.0.0.1 59102 reuse **** v1 vsl| 1008 Timestamp b Bereq: 1730212053.710913 0.000071 0.000048 **** v1 vsl| 1008 FetchError b HTC eof (Unexpected end of input) **** v1 vsl| 1008 BackendClose b 25 s1 close RX_BAD **** v1 vsl| 1008 Timestamp b Connected: 1730212053.726306 0.015464 0.015393 **** v1 vsl| 1008 BackendOpen b 25 s1 127.0.0.1 34123 127.0.0.1 59114 connect **** v1 vsl| 1008 FetchError b Failure to push V1L **** v1 vsl| 1008 Timestamp b Bereq: 1730212053.726312 0.015470 0.000005 **** v1 vsl| 1008 BackendClose b 25 s1 close OVERLOAD **** v1 vsl| 1008 Timestamp b Beresp: 1730212053.726318 0.015476 0.000006 **** v1 vsl| 1008 Timestamp b Error: 1730212053.726320 0.015478 0.000001 **** v1 vsl| 1008 BerespProtocol b HTTP/1.1 **** v1 vsl| 1008 BerespStatus b 503 **** v1 vsl| 1008 BerespReason b Backend fetch failed **** v1 vsl| 1008 BerespHeader b Date: Tue, 29 Oct 2024 14:27:33 GMT **** v1 vsl| 1008 BerespHeader b Server: Varnish **** v1 vsl| 1008 VCL_call b BACKEND_ERROR **** v1 vsl| 1008 LostHeader b Content-Type: **** v1 vsl| 1008 LostHeader b Retry-After: **** v1 vsl| 1008 VCL_return b deliver **** v1 vsl| 1008 Storage b malloc Transient **** v1 vsl| 1008 Length b 271 **** v1 vsl| 1008 BereqAcct b 125 0 125 0 0 0 **** v1 vsl| 1008 End b **** v1 vsl| 1007 Begin c req 1006 rxreq **** v1 vsl| 1007 Timestamp c Start: 1730212053.710803 0.000000 0.000000 **** v1 vsl| 1007 Timestamp c Req: 1730212053.710803 0.000000 0.000000 **** v1 vsl| 1007 VCL_use c vcl1 **** v1 vsl| 1007 ReqStart c 127.0.0.1 59224 a0 **** v1 vsl| 1007 ReqMethod c GET **** v1 vsl| 1007 ReqURL c / **** v1 vsl| 1007 ReqProtocol c HTTP/1.1 **** v1 vsl| 1007 ReqHeader c Connection: close **** v1 vsl| 1007 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1007 ReqHeader c User-Agent: c1 **** v1 vsl| 1007 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1007 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1007 VCL_call c RECV **** v1 vsl| 1007 VCL_return c pass **** v1 vsl| 1007 VCL_call c HASH **** v1 vsl| 1007 VCL_return c lookup **** v1 vsl| 1007 VCL_call c PASS **** v1 vsl| 1007 VCL_return c fetch **** v1 vsl| 1007 Link c bereq 1008 pass **** v1 vsl| 1007 Timestamp c Fetch: 1730212053.730470 0.019666 0.019666 **** v1 vsl| 1007 RespProtocol c HTTP/1.1 **** v1 vsl| 1007 RespStatus c 503 **** v1 vsl| 1007 RespReason c Backend fetch failed **** v1 vsl| 1007 RespHeader c Date: Tue, 29 Oct 2024 14:27:33 GMT **** v1 vsl| 1007 RespHeader c Server: Varnish **** v1 vsl| 1007 RespHeader c X-Varnish: 1007 **** v1 vsl| 1007 RespHeader c Age: 0 **** v1 vsl| 1007 RespHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1007 VCL_call c DELIVER **** v1 vsl| 1007 VCL_return c deliver **** v1 vsl| 1007 Timestamp c Process: 1730212053.730483 0.019680 0.000013 **** v1 vsl| 1007 Filters c **** v1 vsl| 1007 RespHeader c Content-Length: 271 **** v1 vsl| 1007 RespHeader c Connection: close **** v1 vsl| 1007 Timestamp c Resp: 1730212053.730515 0.019712 0.000031 **** v1 vsl| 1007 ReqAcct c 70 0 70 185 271 456 **** v1 vsl| 1007 End c **** v1 vsl| 1006 SessClose c REQ_CLOSE 0.020 **** v1 vsl| 1006 End c **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 0.872 *** v1 debug|Info: Child (1987211) said Child dies *** v1 debug|Info: Child (1987211) ended *** v1 debug|Debug: Child cleanup complete *** v1 debug|Info: manager dies **** v1 STDOUT EOF **** dT 0.889 ** v1 WAIT4 pid=1987198 status=0x0000 (user 0.231847 sys 0.042817) * top TEST ../../../../bin/varnishtest/tests/r01834.vtc FAILED # top TEST ../../../../bin/varnishtest/tests/r01834.vtc FAILED (0.891) exit=2 FAIL tests/r01834.vtc (exit status: 2)